package com.tree.common.config.swagger;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @ClassName com.demo.common.config.swagger
 * Description: <类功能描述>. <br>
 * <p>
 * <使用说明>
 * </p>
 * @Author tree
 * @Date 2019-05-25 21:29
 * @Version 1.0
 */
@Validated
@ConfigurationProperties(prefix = "swagger")
@Data
public class SwaggerProperties {
    private String title = "RESTful APIs";
    private String description="SpringBoot Demo API";
    private String version = "v1";
    @NotNull
    private String basePackage;
}
